package com.woshua.handler;

import java.util.List;
import java.util.Map;

import javax.annotation.processing.ProcessingEnvironment;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.VariableElement;

/*
* 注解处理器
* 1.关联环境
* 2.处理环境
* */
public interface AnnotationHandler {

    /*
    * 关联处理环境
    * */
    void attachProcessingEnvironment(ProcessingEnvironment processingEnvironment);

    /*
    * 处理周边环境
    * Map<Key 注解的数组类名, List<VariableElement>> : activity和对应的属性列表
    * */
    Map<String, List<VariableElement>> handAnnotation(RoundEnvironment roundEnvironment);
}
